ComponentOne Bitmap for UWP
C1.UWP.DX Assembly / C1.Util.DX.WIC Namespace / BitmapSource Class / CopyPixels Method / CopyPixels<T>(RectL,T[]) Method
The rectangle to copy.
The destination array. The size of the array must be sizeof(pixel) * rectangle.Width * rectangle.Height

In This Topic
    CopyPixels<T>(RectL,T[]) Method
    In This Topic

    Instructs the object to produce pixels.

    Syntax
    'Declaration
     
    Public Overloads Sub CopyPixels(Of T As {New, Struct})( _
       ByVal rectangle As RectL, _
       ByVal output() As T _
    ) 
    public void CopyPixels<T>( 
       RectL rectangle,
       T[] output
    )
    where T: new(), struct

    Parameters

    rectangle
    The rectangle to copy.
    output
    The destination array. The size of the array must be sizeof(pixel) * rectangle.Width * rectangle.Height

    Type Parameters

    T
    See Also